package com.woorigil.social;

public class ClassLocationUtils {
	public static String location(Object target) {
		return target.getClass().getPackage().getName().replaceAll("\\.", "/") + "/";
	}
	
	public static String systemLocation(Object target) {
		String location = target.getClass().getPackage().getName().replaceAll("\\.", "/") + "/";
		return target.getClass().getClassLoader().getResource(location).getFile();
	}	
}
